@if (title) {
  <div mat-dialog-title [innerHTML]="title"></div>
}

@if (message) {
  <div mat-dialog-content [innerHTML]="message"></div>
}

<div align="end" mat-dialog-actions>
  <button mat-button (click)="dialogRef.close()">{{ discardLabel }}</button>
</div>
